<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<div style='display: none'>
    <form id='details-data' method='post' action='#'>
        <?php foreach($this->semaines as $semaine_id): ?>
        <input type='text' name='semaines[]' value='<?php echo $semaine_id; ?>'>
        <?php endforeach; ?>
    </form>
</div>
Détails générés<br>
<script type='text/javascript'>
    $(document).ready(function(){
        ajaxLoad('<?php echo $this->url('GRH/default', array('controller' => 'periode', 'action' => 'generateplanning')); ?>', 'planning', 'details-data');
    });
</script>